<div id="orderAllotPage" v-cloak>
    <!-- 标品start    -->
    <el-dialog title="门店报价列表" :visible.sync="orderAllotPageVisible" @closed="closeOrderAllotPage" fullscreen>
        <el-form :inline="true" class="demo-form-inline" size="small">
            <el-form-item label="门店名称：">
                <el-input v-model="q.factoryName"></el-input>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="query">查询</el-button>
            </el-form-item>
        </el-form>
        <el-table tooltip-effect="dark" :data="storeInfosQuery" size="mini">
            <el-table-column type="index" label="序号"></el-table-column>
            <el-table-column prop="merchantName" label="门店"></el-table-column>
            <el-table-column prop="mobile" label="联系方式"></el-table-column>
            <el-table-column prop="qq" label="QQ"></el-table-column>
            <el-table-column label="配送范围">
                <template slot-scope="scope">
                    全国
                </template>
            </el-table-column>
            <el-table-column  label="推荐工序">
                <template slot-scope="scope">
                    名片，拼版不干胶
                </template>
            </el-table-column>
            <el-table-column  prop="totalPrice" label="价格">
                <template slot-scope="scope">
                    <span style="color: red">￥{{scope.row.totalPrice}}</span>
                </template>
            </el-table-column>
            <el-table-column  prop="csRemark" label="备注">
                <template slot-scope="scope">
                    <el-input size="small" v-model="scope.row.csRemark" placeholder="请填写备注信息"></el-input>
                </template>
            </el-table-column>
            <el-table-column label="操作" width="100">
                <template slot-scope="scope">
                    <el-button type="text" size="small" @click="orderAllotSave(scope.row)">分配</el-button>
                </template>
            </el-table-column>
        </el-table>
    </el-dialog>
    <!-- 标品 end -->

    <!-- 报价商品 -->
    <el-dialog title="门店报价列表" :visible.sync="quoteOrderAllotPageVisible" @closed="closeOrderAllotPage" fullscreen>
        <el-form :inline="true" class="demo-form-inline" size="small">
            <el-form-item label="门店名称：">
                <el-input v-model="q.factoryName"></el-input>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="query">查询</el-button>
            </el-form-item>
        </el-form>
        <el-table tooltip-effect="dark" :data="sellerInfoList" size="mini">
            <el-table-column type="index" label="序号"></el-table-column>
            <el-table-column prop="sellerName" label="门店"></el-table-column>
            <el-table-column prop="sellerMobile" label="联系方式"></el-table-column>
            <el-table-column prop="sellerQq" label="QQ"></el-table-column>
            <el-table-column label="配送范围">
                <template slot-scope="scope">
                    全国
                </template>
            </el-table-column>
            <el-table-column  label="推荐工序">
                <template slot-scope="scope">
                    名片，拼版不干胶
                </template>
            </el-table-column>
            <el-table-column label="价格">
                <template slot-scope="scope">
                    <span style="color: red">￥{{totalPrice}}</span>
                </template>
            </el-table-column>
            <el-table-column  prop="csRemark" label="备注">
                <template slot-scope="scope">
                    <el-input size="small" v-model="scope.row.csRemark" placeholder="请填写备注信息"></el-input>
                </template>
            </el-table-column>
            <el-table-column label="操作" width="100">
                <template slot-scope="scope">
                    <el-button type="text" size="small" @click="orderAllotSave(scope.row)">分配</el-button>
                </template>
            </el-table-column>
        </el-table>
    </el-dialog>
</div>

<script src="${request.contextPath}/statics/js/modules/order/orderAllot.js?_${.now?long}"></script>
